package model;



/**
 * Tnews entity. @author MyEclipse Persistence Tools
 */

public class Tnews implements java.io.Serializable {

	// Fields

	private Integer newsid;
	private String newstitle;
	private String newscontant;
	private String newstime;
	private String grade;
	private Integer isDel;

	// Constructors

	/** default constructor */
	public Tnews() {
	}

	/** full constructor */
	public Tnews(String newstitle, String newscontant, String newstime,
			String grade, Integer isDel) {
		this.newstitle = newstitle;
		this.newscontant = newscontant;
		this.newstime = newstime;
		this.grade = grade;
		this.isDel = isDel;
	}

	// Property accessors

	public Integer getNewsid() {
		return this.newsid;
	}

	public void setNewsid(Integer newsid) {
		this.newsid = newsid;
	}

	public String getNewstitle() {
		return this.newstitle;
	}

	public void setNewstitle(String newstitle) {
		this.newstitle = newstitle;
	}

	public String getNewscontant() {
		return this.newscontant;
	}

	public void setNewscontant(String newscontant) {
		this.newscontant = newscontant;
	}

	public String getNewstime() {
		return this.newstime;
	}

	public void setNewstime(String newstime) {
		this.newstime = newstime;
	}

	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Integer getIsDel() {
		return this.isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

}